const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  token2: state => state.user.token2,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  userid: state => state.user.userid,
  supplierid: state => state.supplierid,
  retailid: state => state.retailid,
  addRouters: state => state.permission.addRouters,
  permission_routers: state => state.permission.routers,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  modules: state => state.modules.modlist,
  dimension: state => state.modules.dimension
}
export default getters
